Automattic\WCShipping\LabelPurchase\ViewService A

Total Complexity 53
Dependencies 6
Dependents 5
Total lines 407
Lines of code 254
Logical lines of code 87
Comment lines 101
Methods 11
Properties 4

Methods 11

Method Rating Maintainability Complexity Lines of code
get_order_data()
B
28
15 138
is_order_eligible_for_shipping_label_creation()
A
48 12 33
remove_meta_for_purchase_error()
S
55 6 20
remove_meta_for_refunds()
S
56 6 19
remove_customs_information_for_refunds()
S
61 4 12
is_store_eligible_for_shipping_label_creation()
S
63 3 11
is_shipping_label_enabled()
S
68 3 7
__construct()
S
77 1 4
is_supported_country()
S
79 1 3
is_supported_currency()
S
79 1 3
is_dhl_express_available()
S
76 1 4